package com.heima.apis.user;

import com.heima.apis.article.fallback.ArticleClientFallback;
import com.heima.model.article.dtos.ArticleDto;
import com.heima.model.common.dtos.PageResponseResult;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.user.dtos.AuthDto;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "leadnews-user")
public interface IUserClient {

    @PostMapping("/api/v1/auth/list")
    public ResponseResult userScan(@RequestBody AuthDto dto);



    @PostMapping("/api/v1/auth/authFail")
    public ResponseResult failScan(@RequestBody AuthDto dto);


    @PostMapping("/api/v1/auth/authPass")
    public ResponseResult passScan(@RequestBody AuthDto dto);




}
